package team.cdlzz.dao;

import org.apache.ibatis.annotations.Mapper;
import team.cdlzz.model.pojo.FileData;

import java.util.List;

@Mapper
public interface FileDataMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(FileData record);

    int insertSelective(FileData record);

    FileData selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FileData record);

    int updateByPrimaryKey(FileData record);

    List<FileData> selectByCid(Integer cid);

    FileData selectByFilename(String filename);
}